package com.projects.api.module.demo.service;

import com.projects.api.common.model.query.PageQuery;
import com.projects.api.module.demo.entity.Demo;
import com.projects.api.module.demo.query.DemoQuery;

import java.util.List;

/**
 * @author zhangzhenfu
 * @Description
 * @date 2022/8/14 0014 17:03
 */
public interface DemoService {

    List<Demo> queryDemo(DemoQuery query);

    Demo getDemo(Integer id);

    Demo createDemo(Demo form);

    Demo modifyDemo(Demo form);

    boolean removeDemo(Integer id);

}
